DX11 GET INTERSECTED MESH

Retrieves one of the three vertices that make up the triangle that the ray from the previous DX11 INTERSECT OBJECT or call
hit. If the last call to either of these functions didn't yield an intersection (ie. the function returned a distance of 0.0), the trtiangle from
the last successful raycast is returned (or 0 if no successful raycast has ocirred yet during runtime).

  Syntax
Return Dword = DX11 GET INTERSECTED MESH(index)
  Parameters
index
Dword
The index of the triangle vertex to get; the valid range is [0..2].

  Returns

The vertex number in the hit mesh (use DX11 GET INTERSECTED MESH to retrieve that one) that corresponds to the given vertex in the hit triangle. Will return 0xffffffff if the index is invalid.

  See also

OBJECT Functions Menu
DX11 Function Categories